import time
import requests
import asyncio


# async def task1(param):
#     print(param,"start1")
#     await asyncio.sleep(2)
#     print(param,"end1")
#
# async def task2(param):
#     print(param, "start2")
#     await asyncio.sleep(4)
#     print(param, "end2")
#
# async def main():
#     await asyncio.create_task(task1(100))
#     await asyncio.create_task(task2(200))
#
# start = time.time()
# asyncio.run(main())
# end = time.time()
# print(f"时间开销",end - start)












